/*
 * Powered By 
 * Since 2010 - 2016
 */

package com.rf.business.service;

import java.util.List;
import java.util.Map;

import com.rf.sys.utils.PageUtils;
import com.rf.business.model.TravelLog;

public interface TravelLogService{
	
	/**
	 * 根据id获取数据
	 * @param travelLogId
	 * @return TravelLog
	 */
	public TravelLog getTravelLogByID(String id
) throws Exception;
	
	/**
	 * 根据TravelLog获取数据
	 * @param TravelLog
	 * @return List<TravelLog>
	 */
	public List<TravelLog> getTravelLog(TravelLog travelLog) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param 
	 * @return List<TravelLog>
	 */
	public List<TravelLog> getTravelLog() throws Exception;
	
	/**
	 * 保存信息
	 * @param TravelLog
	 * @return
	 */
	public void addTravelLog(TravelLog travelLog) throws Exception;
	
	/**
	 * 修改数据
	 * @param TravelLog
	 * @return
	 */
	public void updateTravelLog(TravelLog travelLog) throws Exception;
	
	/**
	 * 删除数据
	 * @param travelLogId
	 * @return
	 */
	public void deleteTravelLog(String id
) throws Exception;
	
	/**
	 * 获取数据分页
	 * @param TravelLog
	 * @param pageUtils
	 * @return Map
	 */
	public Map getTravelLogPage(TravelLog travelLog,PageUtils pageUtils) throws Exception;
	/**
	 * 查询分页数据
	 * @param travelLog
	 * @param pageUtils
	 * @return
	 * @throws Exception
	 */
	public Map getTravelLogsPage(TravelLog travelLog,PageUtils pageUtils) throws Exception;
}
